<?xml version='1.0' encoding='UTF-8' ?>
<ui:composition xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
	xmlns:h="http://xmlns.jcp.org/jsf/html"
	xmlns:f="http://xmlns.jcp.org/jsf/core"
	xmlns:pt="http://xmlns.jcp.org/jsf/passthrough"	
	xmlns:tags="http://tags.com/facelets">

    <h:panelGroup layout="block" styleClass="form-group" rendered="#{(empty rendered or rendered)}">
    	<h:outputLabel for="#{id}" value="#{label}" rendered="#{(empty rendered or rendered)}" />
    	<h:outputLabel for="#{id}" value="*" rendered="#{(not empty required or required)}" style="color: red;" />
    	<ui:insert/>
  	</h:panelGroup>
</ui:composition>